﻿using GalFrameWork.Models;

namespace GalFrameWork.Services;
public interface IDialogStorage
{
    //初始化数据库
    public Task Initialize();

    //添加对话
    public Task AddDialog(MyDialog dialog);

    //获取所有对话
    public Task<IEnumerable<MyDialog>> GetDialogs();
    //删除对话
    public Task DeleteDialog(MyDialog dialog);
    //批量导入对话
    public Task ImportDialogs(IEnumerable<MyDialog> dialogs);
}